Skip to content

Guest intake: keep event, anchor and job in sync; availability checks; confirm-first assignment - #520

Merged
alexeygrigorev merged 19 commits into
mainfrom
hub/intake-3fca6e5a70ca9300d6a13daeb431c2e2ee9aee843cda7e19f1712408a2d85444
Nov 27, 2026
Merged

alexeygrigorev merged 19 commits into
mainfrom
hub/intake-3fca6e5a70ca9300d6a13daeb431c2e2ee9aee843cda7e19f1712408a2d85444

Conversation

@alexeygrigorev

Copy link
Copy Markdown
Member

Fixes the Andrii Rohovyi guest-intake report (hub intake 5304caf1): cards time keeps event, anchor and job in sync; retry-pre-send can re-point date/time; slots honor all-day blockers; owner availability re-checked before calendar writes; per-date reservation leases; next-free-day; agreement dates bound scheduling. Includes merge of main.

…ssignment; day view ignores adjacent-day blockers
…dd next-free-day, mark weekends busy in day view
The owner calendar is read only from today onward, and three cases in
owner-availability.test.ts booked 2026-11-26 against the wall clock. They
passed on the 26th and failed from the 27th on: the projection came back
empty and the expected rejections never happened. The summit case would
have followed on 2026-12-03.

assertOwnerAvailable now takes the overlay's clock (today/now) and the
hold writer forwards it through HoldGoogleDeps, so the cases pin
2026-11-24 instead of depending on the real date. Booking behaviour is
unchanged: production callers pass no clock and keep the current day.
@alexeygrigorev

Copy link
Copy Markdown
Member Author

Backlog triage 2026-11-27: integrated current main (713faaa, includes #534) as 0d1adb6.

  • Resolved the routes/cards.ts import conflict with Check event title quality and record reviewed topics #534 (both sides kept; Check event title quality and record reviewed topics #534 adds titleQuality to two card responses, this PR changes event/anchor/job sync).
  • Fixed a clock-dependent test: three cases in owner-availability.test.ts booked 2026-11-26 against the wall clock and the owner calendar is only read from today onward, so they passed on the 26th and failed on the 27th. assertOwnerAvailable now takes the overlay clock and HoldGoogleDeps.clock forwards it; production callers are unchanged.
  • Exact head: CLI and app checks SUCCESS, browser E2E running since 10:31Z. Merge follows once it is green (guarded on the exact head).

@alexeygrigorev
alexeygrigorev merged commit 0002a07 into main Nov 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant